package com.hj.exception.em;

/**
 * @Description 异常枚举
 * @author hj
 */
public enum ParamsExceptionEm {


    /**
     * 参数异常
     */
    PARAM_ERR(3443, "参数异常,请注意传参"),


    PWD_WRONG(3443, "密码错误"),
    VERIFY_CODE_WRONG(3443, "验证码错误"),
    VERIFY_CODE_EXPIRED(3443, "验证码已过期.请重新发送"),

    ;

    ParamsExceptionEm(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}
